#ifndef __LED_H__
#define __LED_H__



#include "app.h"



typedef enum
{
    ON = 0,
    OFF = 1
}LedSta_TypeDef;



INTERFACE(LED_PROCESS)
{
    void (*on)(Led_TypeDef);
    void (*off)(Led_TypeDef);
    void (*toggle)(Led_TypeDef);
};


CLASS(LED)
{
    LedSta_TypeDef led_sta;
    IMPLEMENTS(LED_PROCESS);
    void (*init)(Led_TypeDef);
    
};






#endif
